﻿namespace wToggle.Platform.Interfaces
{
    using System.Net.Http;
    using System.Threading.Tasks;

    public interface ITogglAuth
    {
        Task<AuthStatus> Authenticate(string username, string password);

        Task<AuthStatus> Authenticate(string apiKey);

        bool IsAuthenticated { get; }

        HttpClient GetPreauthenticatedClient();

        Task LogOff();
    }
}